/*
 * EditorController.h
 *
 *  Created on: 12/06/2014
 *      Author: javier
 */

#ifndef EDITORCONTROLLER_H_
#define EDITORCONTROLLER_H_

#include "GTKViews.h"
#include "Campania.h"
#include "Nivel.h"
#include "CampaniaXml.h"

class EditorController {
public:
	EditorController(GTKViews& gtkViews, CampaniaXml *campaign_loader);
	virtual ~EditorController();
	Campania* getCampania();
	void setCampania(Campania* campania);
	void run();
	void save();
	Nivel* newScenario();
	void addZombieBlue();
private:
	GTKViews& gtkViews;
	Campania* campania;
	CampaniaXml *campaign_loader;
};

#endif /* EDITORCONTROLLER_H_ */
